package com.qujia.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import com.qujia.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

public class SysAppUserInfoUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long userId;

    /** 会员编码 */
    @Excel(name = "会员编码")
    private String memberCode;


    /** 来源0微信1支付宝2其他 */
    @Excel(name = "来源0微信1支付宝2其他 ")
    private String userSource;



    /** 会员类型 */
    @Excel(name = "会员类型")
    private String userType;


    /**公众号的openid  */
    private String blogOpenid;

    /** 公众号的openid */
    private String minaOpenid;


    /** 姓名*/
    @Excel(name = "姓名")
    private String name;

    /** 性别0男1女2未知 */
    @Excel(name = "性别0男1女2未知")
    private String sexFlag;



    /** 生日*/
    @Excel(name = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String birthday;

    /** 昵称*/
    @Excel(name = "昵称")
    private String blogNickName;


    /** 手机号*/
    @Excel(name = "手机号")
    private String mobilePhone;


    /** 公众号用户token信息*/
    @Excel(name = "公众号用户token信息")
    private String blogToken;

    /** 手机号*/
    @Excel(name = "小程序token")
    private String minaToken;

    /**车牌号码*/
    @Excel(name = "车牌号码")
    private String truckNumber;
    /**IC卡号*/
    @Excel(name = "IC卡号")
    private String ICCard;


    /** 头像*/
    @Excel(name = "头像")
    private String blogProfilePhoto;


    /** 更新时间*/
    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;


    /**油企id信息*/
    @Excel(name = "油企id信息")
    private Long stationId;
    /**阿里id信息*/
    @Excel(name = "阿里id信息")
    private String aliUserId;


    /** 余额*/
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 积分*/
    @Excel(name = "积分")
    private Long integral;


    /** 注册时间*/
    @Excel(name = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registeDate;

    /** 关注状态*/

    private String followStatus;


    /**首次消费的油站id*/
    private Long firstStationId;



    /** 注册油站*/
    private Long registerStationId;

    /** 微信id*/
    private String unionId;



    /** 油品id*/
    private Long oilId;


    /** 车辆品牌*/
    @Excel(name = "车辆品牌")
    private String truckBrand;

    /** 数量*/
    private Long count;

    /** 油企名称*/
    @Excel(name = "油企名称")
    private String enterpriseName;

    /** 第一次消费油站*/
    @Excel(name = "第一次消费油站")
    private String firstStationName;
    /** 第一次注册油站*/
    @Excel(name = "第一次注册油站")
    private String registerStationName;
    /** 油品名称*/
    @Excel(name = "油品名称")
    private String oilName;

    /** 会员卡的id*/
    private String cardCode;

    /** 积分*/
    @Excel(name = "成长值")
    private Long growUpValue;

    /** 积分*/

    private Long addPoints;

    public Long getAddPoints() {
        return addPoints;
    }

    public void setAddPoints(Long addPoints) {
        this.addPoints = addPoints;
    }

    public Long getGrowUpValue() {
        return growUpValue;
    }

    public void setGrowUpValue(Long growUpValue) {
        this.growUpValue = growUpValue;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserSource() {
        return userSource;
    }

    public void setUserSource(String userSource) {
        this.userSource = userSource;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getBlogOpenid() {
        return blogOpenid;
    }

    public void setBlogOpenid(String blogOpenid) {
        this.blogOpenid = blogOpenid;
    }

    public String getMinaOpenid() {
        return minaOpenid;
    }

    public void setMinaOpenid(String minaOpenid) {
        this.minaOpenid = minaOpenid;
    }

    public String getSexFlag() {
        return sexFlag;
    }

    public void setSexFlag(String sexFlag) {
        this.sexFlag = sexFlag;
    }

    public String getBlogNickName() {
        return blogNickName;
    }

    public void setBlogNickName(String blogNickName) {
        this.blogNickName = blogNickName;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getBlogToken() {
        return blogToken;
    }

    public void setBlogToken(String blogToken) {
        this.blogToken = blogToken;
    }

    public String getMinaToken() {
        return minaToken;
    }

    public void setMinaToken(String minaToken) {
        this.minaToken = minaToken;
    }

    public String getBlogProfilePhoto() {
        return blogProfilePhoto;
    }

    public void setBlogProfilePhoto(String blogProfilePhoto) {
        this.blogProfilePhoto = blogProfilePhoto;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getAliUserId() {
        return aliUserId;
    }

    public void setAliUserId(String aliUserId) {
        this.aliUserId = aliUserId;
    }

    public Date getRegisteDate() {
        return registeDate;
    }

    public void setRegisteDate(Date registeDate) {
        this.registeDate = registeDate;
    }

    public String getFollowStatus() {
        return followStatus;
    }

    public void setFollowStatus(String followStatus) {
        this.followStatus = followStatus;
    }


    public String getOilName() {
        return oilName;
    }

    public void setOilName(String oilName) {
        this.oilName = oilName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }


    public String getFirstStationName() {
        return firstStationName;
    }

    public void setFirstStationName(String firstStationName) {
        this.firstStationName = firstStationName;
    }

    public String getRegisterStationName() {
        return registerStationName;
    }

    public void setRegisterStationName(String registerStationName) {
        this.registerStationName = registerStationName;
    }

    public Long getOilId() {
        return oilId;
    }

    public void setOilId(Long oilId) {
        this.oilId = oilId;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getICCard() {
        return ICCard;
    }

    public void setICCard(String ICCard) {
        this.ICCard = ICCard;
    }



    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }



    public String getTruckNumber() {
        return truckNumber;
    }

    public void setTruckNumber(String truckNumber) {
        this.truckNumber = truckNumber;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Long getIntegral() {
        return integral;
    }

    public void setIntegral(Long integral) {
        this.integral = integral;
    }




    public Long getFirstStationId() {
        return firstStationId;
    }

    public void setFirstStationId(Long firstStationId) {
        this.firstStationId = firstStationId;
    }

    public Long getRegisterStationId() {
        return registerStationId;
    }

    public void setRegisterStationId(Long registerStationId) {
        this.registerStationId = registerStationId;
    }







    public String getTruckBrand() {
        return truckBrand;
    }

    public void setTruckBrand(String truckBrand) {
        this.truckBrand = truckBrand;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

                .append("memberCode", getMemberCode())

                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())

                .toString();
    }


}
